package com.zensun.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author gmk
 */
@ApiModel("菜单权限树实体类")
@Data
public class SysMenuTreeSelectVo {

    @ApiModelProperty("菜单ID")
    private Long menuId;

    @ApiModelProperty("菜单名称")
    private String menuName;

    @ApiModelProperty("父菜单ID")
    private Long parentId;

    @ApiModelProperty("层级")
    private Integer level;

    @ApiModelProperty("routeName-路由名称")
    private String name;

    @ApiModelProperty("子类菜单")
    private List<SysMenuTreeSelectVo> children = new ArrayList<SysMenuTreeSelectVo>();
}
